#ifndef ALGORITHM_FOO_PLUGIN_H
#define ALGORITHM_FOO_PLUGIN_H

#include <QObject>
#include "i_algorithm_plugin.h"

class AlgorithmFooPlugin : public QObject, public IAlgorithmPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID IAlgorithmPlugin_iid)
    Q_INTERFACES(IAlgorithmPlugin)

public:
    QString name() const override;
    void config(const std::unique_ptr<AlgorithmConfigBase>& config) override;
    std::unique_ptr<AlgorithmResultBase> analyze(const double* const data, int size) override;
};

#endif // ALGORITHM_FOO_PLUGIN_H
